package com.jdew.thkj.bean;

import java.io.Serializable;

public class CouponBean implements Serializable {


    /**
     * success : true
     * message : 请求成功！
     * data : {"coupon_activity_id":"f7045031c73b40d1bcae5042d398525b","coupon_amount":50,"coupon_end_time":"2019-03-12","coupon_remain_count":91000,"coupon_src_scene":4,"coupon_start_fee":57,"coupon_start_time":"2019-03-11","coupon_total_count":100000,"coupon_type":0}
     * code : 0
     * num : null
     * numto : null
     * number : null
     */

    private boolean success;
    private String message;
    private DataBean data;
    private String code;
    private Object num;
    private Object numto;
    private Object number;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Object getNum() {
        return num;
    }

    public void setNum(Object num) {
        this.num = num;
    }

    public Object getNumto() {
        return numto;
    }

    public void setNumto(Object numto) {
        this.numto = numto;
    }

    public Object getNumber() {
        return number;
    }

    public void setNumber(Object number) {
        this.number = number;
    }

    public static class DataBean implements Serializable{
        /**
         * coupon_activity_id : f7045031c73b40d1bcae5042d398525b
         * coupon_amount : 50
         * coupon_end_time : 2019-03-12
         * coupon_remain_count : 91000
         * coupon_src_scene : 4
         * coupon_start_fee : 57
         * coupon_start_time : 2019-03-11
         * coupon_total_count : 100000
         * coupon_type : 0
         */

        private String coupon_activity_id;
        private String coupon_amount;
        private String coupon_end_time;
        private String coupon_remain_count;
        private int coupon_src_scene;
        private String coupon_start_fee;
        private String coupon_start_time;
        private String coupon_total_count;
        private int coupon_type;

        public String getCoupon_activity_id() {
            return coupon_activity_id;
        }

        public void setCoupon_activity_id(String coupon_activity_id) {
            this.coupon_activity_id = coupon_activity_id;
        }

        public String getCoupon_amount() {
            return coupon_amount;
        }

        public void setCoupon_amount(String coupon_amount) {
            this.coupon_amount = coupon_amount;
        }

        public String getCoupon_end_time() {
            if(null==coupon_end_time){
                coupon_end_time="" ;
            }
            return coupon_end_time;
        }

        public void setCoupon_end_time(String coupon_end_time) {
            this.coupon_end_time = coupon_end_time;
        }

        public String getCoupon_remain_count() {
            if(null==coupon_remain_count){
                coupon_remain_count="" ;
            }
            return coupon_remain_count;
        }

        public void setCoupon_remain_count(String coupon_remain_count) {
            this.coupon_remain_count = coupon_remain_count;
        }

        public int getCoupon_src_scene() {
            return coupon_src_scene;
        }

        public void setCoupon_src_scene(int coupon_src_scene) {
            this.coupon_src_scene = coupon_src_scene;
        }

        public String getCoupon_start_fee() {
            if(null==coupon_start_fee){
                coupon_start_fee="" ;
            }
            return coupon_start_fee;
        }

        public void setCoupon_start_fee(String coupon_start_fee) {
            this.coupon_start_fee = coupon_start_fee;
        }

        public String getCoupon_start_time() {
            return coupon_start_time;
        }

        public void setCoupon_start_time(String coupon_start_time) {
            this.coupon_start_time = coupon_start_time;
        }

        public String getCoupon_total_count() {
            if(null==coupon_total_count){
                coupon_total_count="" ;
            }
            return coupon_total_count;
        }

        public void setCoupon_total_count(String coupon_total_count) {
            this.coupon_total_count = coupon_total_count;
        }

        public int getCoupon_type() {
            return coupon_type;
        }

        public void setCoupon_type(int coupon_type) {
            this.coupon_type = coupon_type;
        }
    }
}
